package com.itheima.demo03;

import java.util.TreeMap;

public class Demo01 {

    public static void main(String[] args) {

        TreeMap<String,String> treeMap = new TreeMap<>();

        treeMap.put("lala","12");
        treeMap.put("tuzi","23");
        treeMap.put("jieba","22");

        treeMap.forEach((s, s2) -> System.out.println(s+"------"+s2));
    }
}
